package testEnvironment.sensors;

import java.util.List;

import testEnvironment.BlocksWorld;

import com.agentfactory.teleoreactive.interpreter.mentalstate.Sensor;

public class BlocksWorldSensor extends Sensor {
	private BlocksWorld b = BlocksWorld.getIntance();

	@Override
	public void perceive() {
//		b.pickUp("B");
//		b.place("C");
//		b.pickUp("A");
//		b.place("B");
		List<String> percepts = b.percieve();
		
		for (String predicate : percepts) {
			addBelief(predicate);
		}
	}

}
